import React from 'react';
import { useAuthStore } from '~/stores/auth.store';

/**
 * 首页
 */
const Home: React.FC = () => {
  const userInfo = useAuthStore((state) => state.userInfo);

  return (
    <div>
      <h1>🎉 欢迎回来，{userInfo?.nickname || userInfo?.username}！</h1>
    </div>
  );
};

export default Home;

